package com.ate.javamvp;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Property;
import org.greenrobot.greendao.annotation.Unique;
import org.greenrobot.greendao.annotation.Generated;

/**
 * @author Ate
 * @description:
 * @date :2020/12/12 9:34
 */
@Entity(nameInDb = "user_info")
public class UserInfoTable {
    @Id(autoincrement = true)
    @Unique
    private Long id;

    @Property(nameInDb = "username")
    private String userName;

    @Property(nameInDb = "tel")
    private String tel;

    @Generated(hash = 1610616949)
    public UserInfoTable(Long id, String userName, String tel) {
        this.id = id;
        this.userName = userName;
        this.tel = tel;
    }

    @Generated(hash = 1354492153)
    public UserInfoTable() {
    }

    public Long getId() {
        return this.id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUserName() {
        return this.userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getTel() {
        return this.tel;
    }

    public void setTel(String tel) {
        this.tel = tel;
    }


}
